package com.lry.netty01.rx;

import com.lry.netty01.server.utils.CommandUtil;
import lombok.Data;

@Data
public class FixedFrame {

    private byte start = CommandUtil.START;//包头

    private byte len;//msg长度

    private String msg;

    private byte end = CommandUtil.END;//包尾



    @Override
    public String toString() {
        return "FixedFrame{" +
                "start=" + start +
                ", len=" + len +
                ", msg='" + msg + '\'' +
                ", end=" + end +
                '}';
    }
}
